package pers.agony.test;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import pers.agony.service.UserService;

/**
 * @author : Agony
 * @date : Created in 10:59 下午 2021/11/6
 * @Description:
 * @Modified By:
 * @version: : 1.0
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class MybatisApplication {

    @Autowired
    private UserService userService;

    @Test
    public void findAll(){
        System.out.println(userService.findAllUser());
    }
}
